package pojo;


public class Transaction {
	public Transaction(int id, double value, String creteDatetime, Account account, TransacationType type) {
		super();
		this.id = id;
		this.value = value;
		this.creteDatetime = creteDatetime;
		this.account = account;
		this.type = type;
	}
	private int id;
	private double value;
	private String creteDatetime;
	private Account account;
	private TransacationType type;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double  getValue() {
		return value;
	}
	public void setValue(double value) {
		this.value = value;
	}
	public String getCreteDatetime() {
		return creteDatetime;
	}
	public void setCreteDatetime(String creteDatetime) {
		this.creteDatetime = creteDatetime;
	}
	public Account getAccount() {
		return account;
	}
	public void setAccount(Account account) {
		this.account = account;
	}
	public TransacationType getType() {
		return type;
	}
	public void setType(TransacationType type) {
		this.type = type;
	}
	
}
